﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Web.Controller" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%var site = v.data("site") as m_site; %>
<%var lngs = site.lngs; %>
<%var dlngs = site.dlngs; %>

<!DOCTYPE html>
<html lang="pla">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0" />
    <title>#{pageTitle}</title>
    <meta name="Keywords" content="#{pageKeywords}" />
    <meta name="description" content="#{pageDescription}" />
    <link rel="stylesheet" href="#{site.templates}css/style_en.css" type="text/css" media="all" />

    <script src="#{site.templates}js/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="#{site.templates}js/jquery.touchwipe.1.1.1.js" type="text/javascript"></script>
    <script src="#{site.templates}js/jquery.carouFredSel-5.5.0-packed.js" type="text/javascript"></script>
    <script src="#{site.templates}js/functions.js" type="text/javascript"></script>
    <script type="text/javascript" src="#{path.js}ybb/js/basicrun.js"></script>
    <script type="text/javascript">
        $().ready(function () {
            $("#clickmenubotton li span").hover(function () {
                $(this).addClass("bgmenuhove2");
                $(this).parent().find("ul.subnav").slideDown('fast').show();
                $(this).parent().hover(function () { }, function () {
                    $(this).parent().find("ul.subnav").fadeOut('fast');
                    $(this).parent().find("span").removeClass("bgmenuhove2");
                });
            });
        });

        var seconds = 10;
        var defaultUrl = "#{linkURL}";
        onload = function () {
            if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0) {
                document.getElementById('redirectionMsg').innerHTML = '';
                return;
            }
            window.setInterval(redirection, 1000);
        }
        function redirection() {
            if (seconds <= 0) {
                window.clearInterval();
                return;
            }
            seconds--;
            document.getElementById('spanSeconds').innerHTML = seconds;
            if (seconds == 0) {
                window.clearInterval();
                location.href = defaultUrl;
            }
        }
    </script>
</head>
<body>
	<!-- wrapper -->
	<div class="wrapper">
		<!-- header -->
		#{top}
		<!-- end of header -->		
        <!-- shell -->
		<div class="shell">
			<!-- main -->
			<div class="main">
				<section class="post_liuyan">
								<ul>
								<li><span>#{site.position}:</span>
								<a href="#{site.dir}">#{site.hometitle}</a>&nbsp;&gt;&gt;&nbsp;#{site.message}</li>
								</ul>
				</section>	
					<div class="post-cnt">
						<h2>#{site.message}</h2>
					</div>	
					<div class="clear"></div>

                   <!--~列表开始~-->
                                <div class="framecenter margintop10">
                                    <table style="width: 90%; margin: 0 auto; margin-top: 50px; margin-bottom: 50px;">
                                        <tr>
                                            <td class="center">
                                                <table style="margin: 0 auto;">
                                                    <tr>
                                                        <td><span class="messicon">
                                                            <img src="#{site.templates}myimages/lightbulb.gif" /></span></td>
                                                        <td><span class="messtext strong fontsize14">#{calltitle}</span></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="center fontsize14" style="height:50px;line-height:50px">Site will return after<span class="em" id="spanSeconds">10</span>seconds default address!</td>
                                        </tr>
                                        <%var backid = cvt.ToInt(v.data("backid")); %>
                                        <tr>
                                            <td class="center" style="height: 50px; line-height: 50px;"><%if(backid >0){ %>
					
                                                <input class="buttonface2" onclick="javascript: location.href = '#{backlinkURL}';" name="Submit" type="submit" value="#{backBotton}" />
                                                <%} %>
				
                                                <input class="buttonface2" onclick="javascript: location.href = '#{linkURL}';" name="Submit" type="submit" value="#{bottonName}" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <!--~列表结束~-->
                        <div class="clear"></div>
					<div class="cl"></div>
				
				</div>

			</div>
			<!-- end of main -->
		</div>
		<!-- end of shell -->	
		<!-- footer -->
		#{bottom}
		<!-- footer -->
	</div>
	<!-- end of wrapper -->
</body>
</html>